//
// Created by iguilty on 2022-01-12.
//

#include "Factory.h"
#include "Product.h"

#include <iostream>
using namespace std;

Factory::Factory() {

}

Factory::~Factory() {

}

ConcreteFactory::ConcreteFactory() {
    cout<<"ConcreteFactory....."<<endl;
}

ConcreteFactory::~ConcreteFactory() {}

Product* ConcreteFactory::CreateProduct() {
    return new ConcreteProduct();
}